class Item < ActiveRecord::Base

  belongs_to :brand
  belongs_to :measure
  
  has_many :purchases
  has_many :receipts, :through => :purchases
  
  validates_presence_of :name

end
